<!DOCTYPE html>
<html lang="zh">
<head>
    <title>库存查询（汇总） | OMS</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="Thu, 19 Nov 1900 08:52:00 GMT" />

    <!-- 加载 bootstrap 样式-->
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.min.css" />
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/font-awesome/css/font-awesome.min.css" />
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap/css/bootstrap.min.css" />

    <!-- 加载本页需要的三方插件样式 -->
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/jquery.dataTables.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/extensions/TableTools/css/dataTables.tableTools.min.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/dataTables.bootstrap.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-tablesorter/themes/blue/style-custom.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-bootstrap-wizard/custom.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/animate.css/animate.css" />
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/iCheck/skins/all.css" />
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-select/bootstrap-select.min.css">
    <!-- 加载主题风格样式 -->
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" class="default-style" />
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" id="theme-change"
          class="style-change color-change" />
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/style-responsive.css" />
    <link type="text/css" rel="stylesheet" href="/css/tooltip.css" />
    <style>
        body {
            background-color: #FFF;
        }
    </style>
</head>
<body class="">
<!--BEGIN CONTENT-->
<div class="page-content" style="min-height: 200px;">
    <div class="col-md-12">
        <div class="row">
            <div class="col-md-12">
                <ul class="nav nav-tabs ul-edit responsive">
                    <li class="active"><a id="localstor" href="#tab-goodsInfo" data-toggle="tab"><i class="fa fa-edit"></i>&nbsp; 本地库存</a></li>
                    <!-- <li><a id="externalstor" href="#tab-returnInfo" data-toggle="tab"><i class="fa fa-envelope-o"></i>&nbsp; 第三方库存</a></li> -->
                </ul>
                <div id="generalTabContent" class="tab-content">

                    <div id="tab-goodsInfo" class="tab-pane active in">
                        <div class="table-responsive">
                            <table id="stockGoodsLocaTable" class="table table-hover table-striped table-bordered table-advanced tb-sticky-header tablefirst"
                                   cellspacing="0" style="width: 100%; table-layout: fixed;">
                                <thead>
                                <tr>
                                    <th width="15%" colValue="storName">仓库名称</th>
                                    <th width="10%" colValue="totalQty" style="text-align:right">总库存数</th>
                                    <th width="10%" colValue="stockQty" style="text-align:right">正品数</th>
                                    <th width="10%" colValue="junkQty" style="text-align:right">次品数</th>
                                    <th width="8%" colValue="available" style="text-align:right">可用数</th>
                                    <th width="10%" colValue="allotQty" style="text-align:right">已分派数</th>
                                    <th width="10%" colValue="unallotQty" style="text-align:right">未分派数</th>
                                    <th width="10%" colValue="logicStockoutQty" style="text-align:right">逻辑出库数</th>
                                    <th width="10%" colValue="onwayQty" style="text-align:right">在途数</th>
                                    <th width="10%" colValue="reserveQty" style="text-align:right">预留数</th>
                                    <!--  <th width="10%" colValue="ecOid">平台OID</th> -->
                                </tr>
                                </thead>
                                <tbody>

                                </tbody>
                                <tfoot>
                                <tr>
                                    <th width="15%" colValue="storName">合计：</th>
                                    <th width="10%" colValue="totalQty" style="text-align:left">总库存数</th>
                                    <th width="10%" colValue="stockQty" style="text-align:left">正品数</th>
                                    <th width="10%" colValue="junkQty" style="text-align:left">次品数</th>
                                    <th width="8%" colValue="available" style="text-align:left">可用数</th>
                                    <th width="10%" colValue="allotQty" style="text-align:left">已分派数</th>
                                    <th width="10%" colValue="unallotQty" style="text-align:left">未分派数</th>
                                    <th width="10%" colValue="logicStockoutQty" style="text-align:left">逻辑出库数</th>
                                    <th width="10%" colValue="onwayQty" style="text-align:left">在途数</th>
                                    <th width="10%" colValue="reserveQty" style="text-align:left">预留数</th>
                                    <!--  <th width="10%" colValue="ecOid">平台OID</th> -->
                                </tr>
                                </tfoot>
                            </table>
                        </div>
                    </div>
                    <div id="tab-returnInfo" class="tab-pane fade">
                        <div class="table-responsive">
                            <table id="stockGoodsExtTable" class="table table-hover table-striped table-bordered table-advanced tb-sticky-header tablefirst"
                                   cellspacing="0" style="width: 100%; table-layout: fixed;">
                                <thead>
                                <tr>
                                    <th width="10%" colValue="storName">仓库名称</th>
                                    <th width="8%" colValue="totalCount" style="text-align:right">总库存数</th>
                                    <th width="8%" colValue="stockCount" style="text-align:right">正品数</th>
                                    <th width="8%" colValue="junkCount" style="text-align:right">次品数</th>
                                    <th width="8%" colValue="sellCount" style="text-align:right">可销售数</th>
                                    <th width="8%" colValue="available" style="text-align:right">可用数</th>
                                    <th width="8%" colValue="allotQty" style="text-align:right">已分派数</th>
                                    <th width="8%" colValue="unallotQty" style="text-align:right">未分派数</th>
                                    <th width="8%" colValue="canallotQty" style="text-align:right">可分派数</th>
                                    <th width="8%" colValue="onwayQty" style="text-align:right">在途数</th>
                                    <th width="8%" colValue="reserveQty" style="text-align:right">预留数</th>
                                </tr>
                                </thead>
                                <tbody>
                                </tbody>
                                <tfoot>
                                <tr>
                                    <th width="10%" colValue="storName">合计：</th>
                                    <th width="8%" colValue="totalCount" style="text-align:left">总库存数</th>
                                    <th width="8%" colValue="stockCount" style="text-align:left">正品数</th>
                                    <th width="8%" colValue="junkCount" style="text-align:left">次品数</th>
                                    <th width="8%" colValue="sellCount" style="text-align:left">可销售数</th>
                                    <th width="8%" colValue="available" style="text-align:left">可用数</th>
                                    <th width="8%" colValue="allotQty" style="text-align:left">已分派数</th>
                                    <th width="8%" colValue="unallotQty" style="text-align:left">未分派数</th>
                                    <th width="8%" colValue="canallotQty" style="text-align:left">可分派数</th>
                                    <th width="8%" colValue="onwayQty" style="text-align:left">在途数</th>
                                    <th width="8%" colValue="reserveQty" style="text-align:left">预留数</th>
                                </tr>
                                </tfoot>
                            </table>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<!-- ====================================== 窗口区 ===================================== -->
<!-- 导出文件 -->

<!-- 加载 jquery js-->
<script src="/Apollo/madmin/js/jquery-1.10.2.min.js"></script>
<script src="/Apollo/madmin/js/jquery-migrate-1.2.1.min.js"></script>
<script src="/Apollo/madmin/js/jquery-ui.js"></script>

<!-- 加载 bootstrap 和三方插件 js -->
<script src="/Apollo/madmin/vendors/bootstrap/js/bootstrap.min.js"></script>
<script src="/Apollo/madmin/vendors/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js"></script>
<script src="/Apollo/madmin/js/html5shiv.js"></script>
<script src="/Apollo/madmin/js/respond.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-cookie/jquery.cookie.js"></script>
<script src="/Apollo/madmin/vendors/iCheck/icheck.min.js"></script>
<script src="/Apollo/madmin/vendors/iCheck/custom.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.js"></script>
<script src="/Apollo/madmin/vendors/responsive-tabs/responsive-tabs.js"></script>
<script src="/Apollo/madmin/vendors/DataTables/media/js/jquery.dataTables.js"></script>
<script src="/Apollo/madmin/vendors/DataTables/media/js/dataTables.bootstrap.js"></script>
<script src="/Apollo/madmin/vendors/DataTables/extensions/TableTools/js/dataTables.tableTools.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-tablesorter/jquery.tablesorter.js"></script>
<script src="/Apollo/madmin/js/table-advanced.js"></script>
<script src="/Apollo/madmin/vendors/jquery-validate/jquery.validate.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-validate/message_zh.js"></script>

<script src="/Apollo/madmin/vendors/select2/select2.min.js"></script>
<script src="/Apollo/madmin/vendors/bootstrap-select/bootstrap-select.min.js"></script>
<script src="/Apollo/madmin/vendors/multi-select/js/jquery.multi-select.js"></script>

<script src="stockGoodsDetail.js"></script>
<script src="/views/static/js/form.js"></script>
</body>
</html>